take down a peg (or two)

Translations
remettre quelqu’un à sa place
Definitions
To humble someone who is acting arrogant or overly proud, by making them realize they are not as important or superior as they think.